package com.ys.entity.eKnowAi;

import java.util.Date;
import javax.persistence.Table;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="[kjecp_eknow].[dbo].EKnow_Model", catalog="Id")
public class EKnowModel extends BaseEntity<EKnowModel> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="ModelName", nameJava="modelName", typeDataBase="varchar")
	private String modelName;
	@YsField(nameDataBase="ModelOwnName", nameJava="modelOwnName", typeDataBase="varchar")
	private String modelOwnName;
	@YsField(nameDataBase="ModelDescribe", nameJava="modelDescribe", typeDataBase="varchar")
	private String modelDescribe;
	@YsField(nameDataBase="CreateUserId", nameJava="createUserId", typeDataBase="varchar")
	private String createUserId;
	@YsField(nameDataBase="Sort", nameJava="sort", typeDataBase="int")
	private Integer sort;
	@YsField(nameDataBase="PathSuffix", nameJava="pathSuffix", typeDataBase="varchar")
	private String pathSuffix;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public EKnowModel setId(Long id) {
		this.id = id;
		return this;
	}
	public String getModelName() {
		return modelName;
	}
	public EKnowModel setModelName(String modelName) {
		this.modelName = modelName;
		return this;
	}
	public String getModelOwnName() {
		return modelOwnName;
	}
	public EKnowModel setModelOwnName(String modelOwnName) {
		this.modelOwnName = modelOwnName;
		return this;
	}
	public String getModelDescribe() {
		return modelDescribe;
	}
	public EKnowModel setModelDescribe(String modelDescribe) {
		this.modelDescribe = modelDescribe;
		return this;
	}
	public String getCreateUserId() {
		return createUserId;
	}
	public EKnowModel setCreateUserId(String createUserId) {
		this.createUserId = createUserId;
		return this;
	}
	public Integer getSort() {
		return sort;
	}
	public EKnowModel setSort(Integer sort) {
		this.sort = sort;
		return this;
	}
	public String getPathSuffix() {
		return pathSuffix;
	}
	public EKnowModel setPathSuffix(String pathSuffix) {
		this.pathSuffix = pathSuffix;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public EKnowModel setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public EKnowModel setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public EKnowModel setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static EKnowModel eKnowModel(
		String modelName,
		String modelOwnName,
		String modelDescribe,
		String createUserId,
		Integer sort,
		String pathSuffix,
		Integer status
			) {
		EKnowModel entity = new EKnowModel();
		entity.setModelName(modelName);
		entity.setModelOwnName(modelOwnName);
		entity.setModelDescribe(modelDescribe);
		entity.setCreateUserId(createUserId);
		entity.setSort(sort);
		entity.setPathSuffix(pathSuffix);
		entity.setStatus(status);
		return entity;
	}
}